<?php
include("zip.class.php");
$ziper = new zipfile();
$ziper->addDir("test_dir");
$ziper->addFile("test.txt","test_dir/test_output.txt"); //array of files
$ziper->output("myzip.zip");
?>

